package com.testmanager.testmananger.quantitative.repository;

import com.testmanager.testmananger.quantitative.domain.TaskInfoEntity;
import com.testmanager.testmananger.quantitative.domain.TestInfoEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskInfoRepository extends JpaRepository<TaskInfoEntity,Long> {
    List<TaskInfoEntity> findByOwnerNoOrderByIdDesc(long ownerNo);
    List<TaskInfoEntity> findByOwnerNo(long ownerNo);
}
